﻿@model Lion.WeiXin.Core.Models.ProductModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section ChildPageJs {
    <link rel="stylesheet" href="/Kindeditor/themes/default/default.css" />
    <script charset="utf-8" src="/Kindeditor/kindeditor-min.js"></script>
  @*  <script charset="utf-8" src="/Kindeditor/kindeditor.js"></script> *@
    <script charset="utf-8" src="/Kindeditor/lang/zh_CN.js"></script>
    <script src="/Scripts/App_Scripts/ProductCreate.js" type="text/javascript"></script>
}
<form id="fmSave" name="fmSave" method="post" >
    <div class="titstyle01 clearfix">
        <strong>添加产品</strong>
    </div>
    <div class="boxstyle01 clearfix pt25 pb10 pl10">
        <table id="tbl" class="table100">
            <tr align="left">
                <th>
                    <span class="cf60">*</span>@Html.Label("Name", "产品名称")：
                </th>
                <td>
                    <input type="hidden" id="AID" name="AID" value="0" class="slcw120s f_l m5" />
                    <input type="text" id="Name" name="Name" class="slcw120s f_l m5" />
                </td>
            </tr>
            <tr align="left">
                <th>
                    <span class="cf60">*</span>产品类型：
                </th>
                <td>
                    @Html.DropDownList("Dic_ProductType", (List<SelectListItem>)ViewData["selProductType"], new { @class = "slcw180 m5" })
                </td>
            </tr>
            <tr align="left">
                <th>
                    <span class="cf60">*</span>@Html.Label("Price", "原价")：
                </th>
                <td>
                    <input type="text" id="Price" name="Price" class="slcw180 f_l m5" />                   
                </td>
            </tr>
            <tr align="left">
                <th>
                    <span class="cf60">*</span>@Html.Label("Discount", "折扣")：
                </th>
                <td>
                    <input type="text" id="Discount" name="Discount" class="slcw180 f_l m5" />
                </td>
            </tr>
            <tr align="left">
                <th>
                    <span class="cf60">*</span>@Html.Label("Current_Price", "现价")：
                </th>
                <td>
                    <input type="text" id="Current_Price" name="Current_Price" readonly="true" class="slcw180 f_l m5" /> 
                </td>
            </tr>
             <tr align="left">
                <th>
                    <span class="cf60">*</span>@Html.Label("IsRecommend", "是否推荐")：
                </th>
                <td>
                    <input type="checkbox" id="IsRecommend" name="IsRecommend" class="slcw180 f_l m5" /> 
                </td>
            </tr>
             <tr align="left">
                <th>
                    <span class="cf60">*</span>@Html.Label("Sale_Sort", "销量排序")：
                </th>
                <td>
                    <input type="text" id="Sale_Sort" name="Sale_Sort" readonly="true" class="slcw180 f_l m5" /> 
                </td>
            </tr>
             <tr align="left">
                <th>
                    <span class="cf60">*</span>@Html.Label("Sale", "真实销量")：
                </th>
                <td>
                    <input type="text" id="Sale" name="Sale" readonly="true" class="slcw180 f_l m5" /> 
                </td>
            </tr>
            <tr align="left">
                <th>
                    <span class="cf60"></span>@Html.Label("Image", "产品图片")：
                </th>
                <td>
                   <div>
                    <input type="text" id="Image" name="Image" value="" class="slcw180 f_l m5" readonly="true" />
                     <input type="button" id="image3" class="btn02 f_l m15" value="选择图片" />
                        </div>
                    <div class="clear">
                    <img id="imgPic" style="display:none;width:350px;height:200px;" src="#" />
                    </div>
                </td>
            </tr>
            <tr align="left">
                <th>
                    <span class="cf60"></span>产品介绍：
                </th>
                <td>
                    <textarea  style="width:90%;height:350px;" id="Remark" name="Remark"></textarea>
                </td>
            </tr>

            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="确 定" class="btn02 f_l m15" id="btnSave" />
                    <input type="button" class="btn02 f_l m15" id="btnCancel" value="取 消" />
                </td>
            </tr>
        </table>
    </div>
</form>
